package cn.daixi.web.sys.mapper;

import cn.daixi.web.sys.dto.TableColumnRes;
import cn.daixi.web.sys.dto.TableRes;
import cn.daixi.web.sys.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface UserMapper extends BaseMapper<User> {
    List<TableColumnRes> getTableColumns(@Param("dbName") String dbName,@Param("tableName") String tableName);

    List<TableRes> getTables(@Param("dbName") String dbName);
}
